﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucPostCrawler.ascx.cs"
    Inherits="WapCrawler.Controls.ucPostCrawler" %>
<asp:Repeater ID="PostCrawlerRepeater" runat="server" 
    DataSourceID="PostCrawlerLinqDataSource" 
    onitemdatabound="PostCrawlerRepeater_ItemDataBound">
    <HeaderTemplate>
        <%--<table cellpadding="5px" width="100%">--%>
    </HeaderTemplate>
    <ItemTemplate>
        <asp:Panel ID="PostPanel" runat="server" class="info" Style="padding-left: 0px!important">
            <asp:HyperLink ID="postUrlHyperLink" NavigateUrl='<%#Eval("postUrl")%>' runat="server"
                Style="float: left; padding-right: 4px">
                <asp:Image ID="Image1" Width="53" Height="53" ImageUrl="http://gaupanda.hayday.mobi/static/images/2012/08/21/1583140605_1345542807JdxZ.png"
                    runat="server" />
            </asp:HyperLink>
            <h3>
                <asp:HyperLink ID="postTitleHyperLink" NavigateUrl='<%#Eval("postUrl")%>' runat="server"
                    Text='<%#Eval("postTitle")%>'></asp:HyperLink>
            </h3>
            <span class="down"><span class="cats"><a class="show-cat" href="http://gaupanda.hayday.mobi/game-offline/.html">
                Game Offline</a> </span><em>·</em> <span>Lượt xem: 8280</span> </span>
            <br />
            <span class="desc">
                <%#Eval("postContent")%></span>
        </asp:Panel>
    </ItemTemplate>
    <FooterTemplate>
        <%--</table>--%>
    </FooterTemplate>
</asp:Repeater>
<asp:LinqDataSource ID="PostCrawlerLinqDataSource" runat="server" ContextTypeName="WapCrawlerLib.WapDataClassesDataContext"
    EntityTypeName="" TableName="PostCrawlers">
</asp:LinqDataSource>
